html {
	font-family : Tahoma;
	font-size : 12px;
  padding: 0px;
  margin: 0px;
}

body {
  padding: 0px;
  margin: 0px;
}

#castle {
    background: #000000;
    position: relative;
    width: 650px;
    height: 624px;
    margin: 0 auto;
}

#castle2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 250px;
    background: grey;
    color: white;
}

#castle div {
    background-image: url(../images/sprites.png);
    background-repeat: no-repeat;
    position: absolute;
}


/* My yellow tank */

.minetank1up {
    width: 41px;
    height: 39px;
    background-position: 0px -237px;
}

.minetank1right {
    width: 39px;
    height: 41px;
    background-position: -41px -244px;
}

.minetank1down {
    width: 41px;
    height: 39px;
    background-position: -80px -244px;
}

.minetank1left {
    width: 39px;
    height: 41px;
    background-position: -121px -244px;
}

/* Castle tales */
.eagle {
    width: 50px;
    height: 42px;
    background-position: 0px -101px;
}

.eagle_destroyed {
    width: 50px;
    height: 42px;
    background-position: -50px -101px;
}

.brick1 {
    width: 25px;
    height: 24px;
    background-position: -150px -100px;
}

.brick2 {
    width: 25px;
    height: 24px;
    background-position: -175px -100px;
}

.water1 {
    width: 25px;
    height: 24px;
    background-position: -200px -100px;
}

.water2 {
    width: 25px;
    height: 24px;
    background-position: -225px -100px;
}

.rock {
    width: 25px;
    height: 24px;
    background-position: -150px -124px;
}

.grass {
    width: 25px;
    height: 24px;
    background-position: -175px -124px;
}

.sand {
    width: 25px;
    height: 24px;
    background-position: -200px -124px;
}

/* Enemy tanks */

/* Tank 1 */
.enemytank1up {
    width: 41px;
    height: 45px;
    background-position: -39px -285px;
}

.enemytank1right {
    width: 45px;
    height: 41px;
    background-position: -80px -285px;
}

.enemytank1down {
    width: 41px;
    height: 45px;
    background-position: -125px -285px;
}

.enemytank1left {
    width: 45px;
    height: 41px;
    background-position: -166px -285px;
}

/* Tank 2 */

.enemytank2up {
    width: 41px;
    height: 45px;
    background-position: -211px -285px;
}

.enemytank2right {
    width: 45px;
    height: 41px;
    background-position: -252px -291px;
}

.enemytank2down {
    width: 41px;
    height: 45px;
    background-position: 0px -332px;
}

.enemytank2left {
    width: 45px;
    height: 41px;
    background-position: -41px -332px;
}

/* Tank 3 */

.enemytank3up {
    width: 41px;
    height: 45px;
    background-position: -86px -332px;
}

.enemytank3right {
    width: 45px;
    height: 41px;
    background-position: -127px -335px;
}

.enemytank3down {
    width: 41px;
    height: 45px;
    background-position: -172px -334px;
}

.enemytank3left {
    width: 45px;
    height: 41px;
    background-position: -213px -334px;
}

/* Tank 4 */

.enemytank4up {
    width: 41px;
    height: 45px;
    background-position: -258px -334px;
}

.enemytank4right {
    width: 45px;
    height: 41px;
    background-position: 0px -377px;
}

.enemytank4down {
    width: 41px;
    height: 45px;
    background-position: -45px -377px;
}

.enemytank4left {
    width: 45px;
    height: 41px;
    background-position: -86px -377px;
}

/* Tank 1 RED */

.enemytankred1up {
    width: 41px;
    height: 42px;
    background-position: -131px -376px;
}

.enemytankred1right {
    width: 42px;
    height: 41px;
    background-position: -172px -379px;
}

.enemytankred1down {
    width: 41px;
    height: 42px;
    background-position: -214px -379px;
}

.enemytankred1left {
    width: 42px;
    height: 41px;
    background-position: -255px -379px;
}

/* Tank 2 RED */

.enemytankred2up {
    width: 41px;
    height: 45px;
    background-position: 0px -418px;
}

.enemytankred2right {
    width: 45px;
    height: 41px;
    background-position: -41px -422px;
}

.enemytankred2down {
    width: 41px;
    height: 45px;
    background-position: -86px -422px;
}

.enemytankred2left {
    width: 45px;
    height: 41px;
    background-position: -127px -422px;
}

/* Tank 3 RED */

.enemytankred3up {
    width: 41px;
    height: 45px;
    background-position: -172px -422px;
}

.enemytankred3right {
    width: 45px;
    height: 41px;
    background-position: -213px -422px;
}

.enemytankred3down {
    width: 41px;
    height: 45px;
    background-position: -258px -422px;
}

.enemytankred3left {
    width: 45px;
    height: 41px;
    background-position: 0px -463px;
}

/* Tank 4 RED */

.enemytankred4up {
    width: 41px;
    height: 45px;
    background-position: -45px -463px;
}

.enemytankred4right {
    width: 45px;
    height: 41px;
    background-position: -86px -463px;
}

.enemytankred4down {
    width: 41px;
    height: 45px;
    background-position: -131px -465px;
}

.enemytankred4left {
    width: 45px;
    height: 41px;
    background-position: -172px -467px;
}

/* Bullets */

.bulletup {
    width: 10px;
    height: 12px;
    background-position: -234px -130px;
}

.bulletleft {
    width: 12px;
    height: 10px;
    background-position: -256px -131px;
}

.bulletright {
    width: 12px;
    height: 10px;
    background-position: -259px -107px;
}

.bulletdown {
    width: 10px;
    height: 12px;
    background-position: -283px -105px;
}